Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit 7eed90249fd122d799bbdba0e8edb15f118ceca1


Parents : eff722e
Author : Sudo-Ivan <ivan@quad4.io>
Signature : Signature validation error
Date : 2026-01-10T18:56:14-06:00

Add CHANGELOG.md to include files in build process if it exists

Changes

1 files changed, 4 insertions(+), 0 deletions(-)


Diff

diff --git a/cx_setup.py b/cx_setup.py
index e0160c7b..f3050674 100644
--- a/cx_setup.py
+++ b/cx_setup.py
@@ -14,6 +14,10 @@ build_exe_dir = os.environ.get("CX_FREEZE_BUILD_EXE", "build/exe")
include_files = []
+changelog_path = ROOT / "CHANGELOG.md"
+if changelog_path.exists():
+ include_files.append((str(changelog_path), "CHANGELOG.md"))
+
if PUBLIC_DIR.exists() and PUBLIC_DIR.is_dir():
include_files.append((str(PUBLIC_DIR), "public"))


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────